package com.xiangying.entity.common;

import java.io.Serializable;

/**
 * 返回结果对象
 * @author luolihong
 *
 * @param <T>
 */
public class Result<T> implements Serializable {
	
	private static final long serialVersionUID = 2983102512090335404L;

	/** 错误码 */
	private Integer code;
	
	/** 错误信息 */
	private String message;
	
	/** 返回内容 */
	private T data;

	public Integer getCode() {
		return code;
	}

	public void setCode(Integer code) {
		this.code = code;
	}

	public String getMessage() {
		return message;
	}

	public void setMessage(String message) {
		this.message = message;
	}

	public T getData() {
		return data;
	}

	public void setData(T data) {
		this.data = data;
	}
	
	
}
